home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / quicktime / goodies / offscreen.win / applicationprivate.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  1.1 KB  |  38 lines

  1. /*
  2.     File:        ApplicationPrivate.h
  3.  
  4.     Contains:    QuickTime 3.0 Offscreen sample application.
  5.  
  6.     Written by:    Scott Kuechle
  7.  
  8.     Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.        <1>         4/24/98        srk        first file
  13.         
  14.  
  15.  NOTES:
  16.  
  17.  
  18.  TO DO:
  19.  
  20. */
  21.  
  22.     /* private data held in each child movie window */
  23. typedef struct
  24. {
  25.     Movie            movie;                /* movie associated with the window */
  26.     short            refNum;                /* movie reference number */
  27.     TimeValue        currentTime;        /* current time value for movie display */
  28.     LPRGBQUAD        srcRgbQuadArray;    /* rbg color values for our window background bitmap */
  29.     HPALETTE        hBackgroundPalette;    /* color palette for our window background */
  30.     HBITMAP            hBitmap;            /* the DIB (from CreateDIBSection) for use with our memory device context */
  31.     HANDLE            hBkgrndBitmap;        /* bitmap used to paint on the background of our windows */
  32.     HANDLE            ghInst;
  33.     HDC                hMemDC;                /* memory device context we use for drawing our bitmap/offscreen images */
  34.     GWorldPtr        offscreenGWorld;    /* our Mac offscreen */
  35.     LONG            maxWindowWidth;
  36.     LONG            maxWindowHeight;
  37. } ChildWindowRecord, *ChildWindowPtr;
  38.